package com.linkgie.galaxyframework.service.business.web;

import com.linkgie.galaxyframework.metadata.DataEntity;
import com.linkgie.galaxyframework.metadata.DataField;
import com.linkgie.galaxyframework.metadata.DataInterface;
import com.linkgie.galaxyframework.metadata.DataKey;
import com.linkgie.galaxyframework.metadata.DataLabel;
import com.linkgie.galaxyframework.metadata.DataType;
import com.linkgie.galaxyframework.metadata.StandardType;

/**
 * 业务查询对象；
 * @author huanghaiquan
 *
 */
@DataInterface
@DataEntity
public class BusinessQueryVO {
	
	@DataKey
	@DataField(name="编码", order = 0)
	private String code;
	
	@DataLabel
	@DataField(name="名称", order = 1)
	private String name;
	
	@DataType(dataType = StandardType.BOOL, contentType = "enum;strict=true;true='正常';false='关闭'")
	@DataField(name="状态", order = 3)
	private boolean open;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

}
